package com.cowain.monitor.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.cowain.monitor.entity.ErpClientEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  
 *  * @author 冬暖
 *  * @projectName pms-monitor
 *  * @title     ErpClientDao   
 *  * @package    com.cowain.monitor.dao  
 *  * @description    ERP客户信息       
 *  * @date   2020/7/28 18:01  
 *  * @version V1.0.0
 *  
 */
@Mapper
public interface ErpClientDao extends BaseMapper<ErpClientEntity> {
    /**
     * 获取所有客户表信息
     * @param isDel 状态
     * @return 客户列表
     */
    List<ErpClientEntity> findClientList(@Param("isDel") Long isDel);

    /**
     * 修改客户
     * @param clientEntityList 客户列表
     */
    void updateClient(List<ErpClientEntity> clientEntityList);
}
